package com.isdepci.project.eleLoad.mapper;

import com.isdepci.project.eleLoad.domain.AMachineryInformation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 机械信息Mapper接口
 *
 * @author isdepci
 * @date 2025-02-26
 */
public interface AMachineryInformationMapper
{
    /**
     * 查询机械信息
     */
     AMachineryInformation selectAMachineryInformationById(Long id);

    /**
     * 查询机械信息列表
     */
     List<AMachineryInformation> selectAMachineryInformationList(AMachineryInformation aMachineryInformation);

    /**
     * 新增机械信息
     */
     int insertAMachineryInformation(AMachineryInformation aMachineryInformation);

    /**
     * 修改机械信息
     */
     int updateAMachineryInformation(AMachineryInformation aMachineryInformation);

    /**
     * 删除机械信息
     */
     int deleteAMachineryInformationById(Long id);

    /**
     * 批量删除机械信息
     */
     int deleteAMachineryInformationByIds(Long[] ids);


    void insertList(@Param("list") List<AMachineryInformation> list,@Param("pId")Long pId);



}
